<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>

<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html>
<html lang="zh_cn">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<title>JIM管理系统</title>
<%@ include file="../../../inc/main-css.jsp"%>
<%@ include file="../../../inc/main-js.jsp"%>
<style type="text/css">
	.table th, .table td { 
	text-align: center;
	vertical-align: middle!important;
	}
</style>
<script type="text/javascript">
	$(function(){
		$('#table').bootstrapTable({
			url:'list',
			showColumns:true,
			pagination:true,
			sidePagination:'server',
			pageList:[10, 25, 50, 100],
			onDblClickRow:function(row, $element){
				
			},
		    columns: [
		    {
		        field: 'logtype',
		        title: '日志类型',
		        formatter:function(value,row,index){
		        	return value+" | "+${logtypeMap}[value];;
		        }
		    },{
		        field: 'loginid',
		        title: '操作人员'
		    },{
		        field: 'ip',
		        title: 'IP地址'
		    },{
		        field: 'data1',
		        title: '数据项一'
		    },{
		        field: 'data2',
		        title: '数据项二'
		    },{
		        field: 'data3',
		        title: '数据项三'
		    },{
		        field: 'createtime',
		        title: '创建时间'
		    }]
		});
		
		
	});//--
	
</script>
</head>
<body>
	<div id="wrapper" class="container-fluid">
		<%@ include file="../../../inc/menu.jsp"%>
		<div id="page-wrapper">
			<table id="table" class="table"></table>
		</div>
			<!-- /.container-fluid -->	
	</div>
	
	
</body>

</html>